/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the top of the
 * compiled file, but it's generally better to create a new file per style scope.
 *
 
 *= require_tree .
 *= require_self
  
 */

 * {
  box-sizing: border-box;
 }

* {
  margin: 0;
}

html, body {
  height: 100%;
  color: #fff;
}

.background {
  background: url('https://dl.dropboxusercontent.com/u/8073874/DTD/DSC_4755.JPG') repeat-y bottom center;
  background-size: cover;
  padding-top: 20px;
}
.wrapper {
  min-height: 100%;
  /* equal to footer height */
  margin: 100px auto 0 auto;
  margin-bottom: -130px; 
  width: 960px;
  min-height: 750px;
}
.wrapper:after {
  content: "";
  display: block;
}
footer, .wrapper:after {
  /* .push must be the same height as footer */
  height: 130px; 
}

input[type="text"], input[type="password"], input[type="email"], textarea, select {
  display: inline-block;
  -moz-box-shadow: inset 0px 0px 10px #000000;
  -webkit-box-shadow: inset 0px 0px 10px #000000;
  box-shadow: inset 0px 0px 10px #000000;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  padding: 10px;
  width:250px;
}

.button, button, input[type="submit"], input[type="reset"], input[type="button"], input[type="file"] {
  padding: 10px;
  display: block;
  margin: 0 auto;
  font-size: 18px;
  border-radius: 10px;
}

.post input[type="file"] {
  margin: 30px auto;
  position: relative;
  left: 80px;
}

a, .logo a {
  text-decoration: none;
  -webkit-transition: all 400ms cubic-bezier(0.47, 0, 0.745, 0.715);
  transition: all 400ms cubic-bezier(0.47, 0, 0.745, 0.715);
}

nav li a, a:visited, .logo a, .map-header a {
  color: #fff;
}

a:hover, a:focus {
  color:#efcb39;
}

header {
  position: fixed;
  top: 0;
  z-index: 9999;
  background-color:#262626;
  width:100%;
  height:70px;
  box-shadow: 0px 1px 1px #5E5E5E;
}

.inner-wrapper {
  width: 960px;
  margin: 0 auto;
  overflow: hidden;
  padding-top: 24px;
}

ul {
  display: inline-block;
}

li {
  list-style-type: none;
}

nav li {
  display: inline;
  padding: 10px;
  font-size: 18px;
  color: #fff;
}

.logo {
  float: left;
  font-size: 36px;
  font-family: 'Stardos Stencil', cursive;
  font-weight: bold;
}

footer {
  background: url('https://dl.dropboxusercontent.com/u/8073874/DTD/DSC_4765.JPG') no-repeat bottom center;
  background-size: 100% 70%;
  height: 130px;
}

nav {
  float: right;
}

img {
  display: block;
  margin: 0 auto;
}
/****** HOMEPAGE ******/
.image {
  width: 300px;
  margin: 0 auto;
  -webkit-transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
}

/*.image {
    position: absolute;
    top: 40%;
    left: 40%;
    width: 300px;
    height: 300px;
    margin:-60px 0 0 -60px;
    -webkit-animation:spin 6s linear infinite;
    -moz-animation:spin 6s linear infinite;
    animation:spin 6s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }*/

.image h2 {
  position: relative;
  top: -50px;
  left: 30px;
}

/****** POSTS ******/

.post li {
  font-size: 18px;
}

.post .title {
  color: #000;
  font-family: 'Stardos Stencil', cursive;
  font-weight: bold;
}

.post li:last-child {
  margin-top: 40px;
}

.content-wrapper {
  text-align: center;
  padding: 60px 0;
}


.content-wrapper .post ul {
  display: block;
  margin: 0 auto;
  width: 50%;
}

.title {
  font-size: 24px;
  position: relative;
  top: -45px;
  transform:rotate(4deg);
  -ms-transform:rotate(4deg);
  -webkit-transform:rotate(4deg);
}

.polaroid img, .image img {
  border: 24px solid #fff;
  border-bottom: 60px solid #fff;
}

.content-wrapper .post img, .content-wrapper .vote img {
  -webkit-box-shadow: 6px 6px 16px rgba(50, 50, 50, 0.75);
  -moz-box-shadow:    6px 6px 16px rgba(50, 50, 50, 0.75);
  box-shadow:         6px 6px 16px rgba(50, 50, 50, 0.75);
}

.content-wrapper .first {
  transform:rotate(4deg);
  -ms-transform:rotate(4deg);
  -webkit-transform:rotate(4deg);
}

/***** VOTE *****/
.vote a, .user a, .btn {
  color: rgb(68, 68, 68);
  padding: 20px 40px;
  border-radius: 10px;
   -webkit-box-shadow: 6px 6px 16px rgba(50, 50, 50, 0.75);
  -moz-box-shadow:    6px 6px 16px rgba(50, 50, 50, 0.75);
  box-shadow:         6px 6px 16px rgba(50, 50, 50, 0.75);
  font-size: 24px;
  font-weight: bold;
  background-image: linear-gradient(bottom, rgb(227,132,16) 34%, rgb(232,240,14) 100%);
  background-image: -o-linear-gradient(bottom, rgb(227,132,16) 34%, rgb(232,240,14) 100%);
  background-image: -moz-linear-gradient(bottom, rgb(227,132,16) 34%, rgb(232,240,14) 100%);
  background-image: -webkit-linear-gradient(bottom, rgb(227,132,16) 34%, rgb(232,240,14) 100%);
  background-image: -ms-linear-gradient(bottom, rgb(227,132,16) 34%, rgb(232,240,14) 100%);
}

.vote li {
  margin-top: 30px;
  font-size: 18px;
}

/**** USER ****/

.user {
  width: 75%;
  margin: 40px auto;
}

.user a {
  margin: 20px;
}

.user .btns {
  margin-top: 40px;
}

.user li {
  font-size: 18px;
  font-weight: bold;
  margin: 10px;
}

h1 {
  margin-bottom: 40px;
  background: rgba(200, 200, 200, .7);
  border-radius: 10px;
  padding: 10px;
  text-shadow: 0px 2px 2px rgba(255, 255, 255, 0.4)
}

.map-page {
  width: 890px;
  height: 580px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  top: -10px;
}

h1.map-header {
  position: relative;
  bottom: 59px;
  z-index: 9999;
  font-size: 43px;
  background: rgba(50, 50, 50, .7);
  width: 93%;
  margin: 0 auto;
  padding: 0;
  border-radius: 0;
}

 #map {
  width: 100%; 
  height: 800px; 
  border-radius:10px;
  overflow: hidden;
}

/******** MEDIA QUERIES *******/

@media all and (max-width: 960px) {
  .wrapper {
    width:100%;
  }

  .inner-wrapper {
  width: 100%;
  padding-top: 24px;
  }

  h1.map-header {
    border-radius: 10px;
    bottom: 0;
  }

  .map-page {
    width:100%;
  }

   #map {
    width: 600px; 
    display: inline-block;
  }
}

@media all and (max-width: 650px) {
  .wrapper {
    margin-top: 0;
  }

  .background {
    padding: 0;
  }

  nav, nav ul {
    width: 100%;
  }

  .user a {
    display: block;
  }

  .logo, nav {
    float: none;
    display: inline;
  }

  .logo {
    margin-bottom: 20px;
  }

  header {
    text-align: center;
    height: 165px;
    overflow: hidden;
    position: relative;
  }

  nav ul {
    overflow: hidden;
    margin: 20px 0 0 0;
  }

  nav li {
    display: block;
    padding: 15px;
    float: left;
    width: 50%;
    -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
    box-shadow: inset 2px 0 2px 0 #ffffff;
    background: -moz-linear-gradient(top, rgba(0,0,0,0.65) 10%, rgba(0,0,0,0.65) 19%, rgba(0,0,0,0) 100%); /* FF3.6+ */
    background: rgb(174,188,191); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(174,188,191,1) 0%, rgba(10,8,9,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(174,188,191,1)), color-stop(100%,rgba(10,8,9,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(174,188,191,1) 0%,rgba(10,8,9,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(174,188,191,1) 0%,rgba(10,8,9,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(174,188,191,1) 0%,rgba(10,8,9,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(174,188,191,1) 0%,rgba(10,8,9,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aebcbf', endColorstr='#0a0809',GradientType=0 ); /* IE6-9 */
      text-shadow: 1px 1px 0px #ffffff;
    margin: 0;
  }

  #map {
    width: 400px;
  }

  .content-wrapper .post ul {
    margin: 0;
    width: 100%;
  }

}






